﻿@using MyCompanyName.AbpZeroTemplate.Web.Areas.AppAreaName.Models.Layout
@using MyCompanyName.AbpZeroTemplate.Web.Areas.AppAreaName.Views.Shared.Components.AppAreaNameLogo
@model HeaderViewModel
@{
    Layout = null;
}

<div class="kt-header__brand   kt-grid__item" id="kt_header_brand">
    <a href="@Url.Action("Index", "Home", new {area = string.Empty})" target="_blank">
        @if (AbpSession.TenantId == null || Model.LoginInformations?.Tenant?.LogoId == null)
        {
            <img alt="logo" src="/Common/Images/app-logo-on-light.svg" height="38" />
        }
        else
        {
            @await Component.InvokeAsync(typeof(AppAreaNameLogoViewComponent))
        }
    </a>		
</div>